<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://unpkg.com/vue"></script>
    <!-- 会使用最新版本，你最好指定一个版本 -->
    <script src="https://unpkg.com/naive-ui"></script>
</head>
<body>
<div id="app">
  <n-button>{{ message }}</n-button>
  <n-date-picker v-model:value="timestamp" type="date" clearable />
</div>
<script>
  import { defineComponent, ref } from "vue";
  const App = {
    setup() {
      return {
        message: 'naive',
        timestamp: ref(118313526e4)
      }


    }
  }
  const app = Vue.createApp(App)
  app.use(naive)
  app.mount('#app')
</script>
</body>
</html>
